home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
util
/
cdity
/
ModeProSrc.lha
/
Daemon
/
Unnamed1
/
4.1
/
MPGui.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-12
|
721b
|
47 lines
#include "MP.h"
#include <dos/dos.h>
#include <dos/dostags.h>
#include <dos/dosextens.h>
extern UBYTE ModePro[];
extern STRPTR PrefsPath;
/*
void __regargs _CXBRK(int l);
void __regargs _CXBRK(int l)
{
}
void __regargs __chkabort(void);
void __regargs __chkabort(void)
{
}
*/
BOOL ShowGUI(void)
{
BPTR sl;
struct Process *proc;
if(SendPrefsMsg(MP_PREFSTOFRONT,0,0) < 0)
{
if(SystemTags(PrefsPath,
SYS_Asynch,TRUE,
SYS_Input ,0,
SYS_Output ,0,
TAG_DONE))
EZReq(0,0,ModePro,GetString(MSG_ERR_COULDNT_FIND_PREFS),GetString(MSG_REQ_OK),PrefsPath);
}
return(1);
}
void HideGUI(void)
{
SendPrefsMsg(MP_PREFSCLOSE,0,0);
}